(C) 1996 AROS - The Amiga Replacement OS
NAME
#include <proto/dos.h>
BOOL ChangeMode()
SYNOPSIS
ULONG type
BPTR object
ULONG newmode
LOCATION
In DOSBase at offset 75
FUNCTION
Try to change the mode used by a lock or filehandle.
INPUTS
type
CHANGE_FH or CHANGE_LOCK.
object
Filehandle or lock.
newmode
New mode.
RESULT
!=0 if all went well, 0 else. IoErr() gives additional information in that case.
NOTES
Since filehandles and locks are identical under AROS the type argument is ignored.
EXAMPLE
BUGS
SEE ALSO
INTERNALS
HISTORY
RCS file: /home/AROS/CVS/AROS/rom/dos/changemode.c,v Working file: ../../rom/dos/changemode.c head: 1.4 branch: locks: strict access list: symbolic names: REL_1_8: 1.1 keyword substitution: kv total revisions: 4; selected revisions: 4 description: ---------------------------- revision 1.4 date: 1997/01/27 00:36:14; author: ldp; state: Exp; lines: +8 -3 Polish ---------------------------- revision 1.3 date: 1996/12/09 13:53:21; author: aros; state: Exp; lines: +5 -2 Added empty templates for all missing functions Moved #include's into first column ---------------------------- revision 1.2 date: 1996/10/24 15:50:24; author: aros; state: Exp; lines: +12 -9 Use the official AROS macros over the __AROS versions. ---------------------------- revision 1.1 date: 1996/09/11 12:54:45; author: digulla; state: Exp; A couple of new DOS functions from M. Fleischer =============================================================================